home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-08-30 | 1.9 KB | 57 lines | [TEXT/GEOL] |
- Item 3278719 30-Aug-89 07:41
-
- From: SW0075 SWV VTS Transportation Systems, GBG
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: Segment Loading in SADE
-
- To: MACAPP.TECH$
-
- From: SW0075 VTS Transportation Systems AB
-
- Sub: Segment loading in Sade
-
- Hi,
- There seems to be a problem in the segment loading when debugging with SADE.
- At first, five break point were set, four in segment ADependentSeg and one in
- segment AStarter, calling the four routines in the first one.
- After the break in segment AStarter, the first call to one of the routines
- in segment ADependentSeg caused SADE to break in with the error message :
-
- Instruction trace at LOADER+$0018 in "myApplication"
- LOADER
- +0018 4080D36E 0800 0007 *BTST #$07,D0
-
- In a second attempt, only one break point in segment ADependentSeg was set.
- This time everything worked out fine.
-
- In the first erroneous case, the heap (with most resources stripped off)
- attributes
- was as follows :
-
- BlkAddr BlkLength Typ MasterPtr Flags RType RId RFRef RName
- •$00193D84 $00001F2C H $00193D60 L R CODE 1 $05E2 "Main"
- $0019F9A0 $00001D68 H $00193D14 PR CODE 34 $05E2 "ADependentSeg"
- $001A1710 $000DC398 F
- •$0027DAB0 $0000026C H $00193D08 LPR CODE 31 $05E2 "AnotherSeg"
-
- In the second case, the heap attributes was as follows :
-
- •$00193D84 $00001F2C H $00193D60 L R CODE 1 $05E2 "Main"
- $001AD4E4 $000CE800 F
- •$0027BCEC $00001D68 H $00193D14 LPR CODE 34 $05E2 "ADependentSeg"
- •$0027DA5C $000002C0 H $00193D08 LPR CODE 31 $05E2 "AnotherSeg"
-
- The segment to be loaded is allocated in the permanent memory space in the
- first
- case and in the temporary memory space in the second. Is this causing the
- problems, or ... ? What's the best strategy to overcome these problems ?
-
- Regards
- Bo Ridderstolpe
- Dan Ryrlén
- VTS
-
-
-